home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / lib / mozilla-firefox / include / dom / nsIDOMSVGUseElement.h < prev    next >
C/C++ Source or Header  |  2006-05-08  |  4KB  |  128 lines

  1. /*
  2.  * DO NOT EDIT.  THIS FILE IS GENERATED FROM nsIDOMSVGUseElement.idl
  3.  */
  4.  
  5. #ifndef __gen_nsIDOMSVGUseElement_h__
  6. #define __gen_nsIDOMSVGUseElement_h__
  7.  
  8.  
  9. #ifndef __gen_nsIDOMSVGElement_h__
  10. #include "nsIDOMSVGElement.h"
  11. #endif
  12.  
  13. /* For IDL files that don't want to include root IDL files. */
  14. #ifndef NS_NO_VTABLE
  15. #define NS_NO_VTABLE
  16. #endif
  17. class nsIDOMSVGAnimatedLength; /* forward declaration */
  18.  
  19.  
  20. /* starting interface:    nsIDOMSVGUseElement */
  21. #define NS_IDOMSVGUSEELEMENT_IID_STR "d49a3ac7-e779-46c8-ae92-214420aa1b71"
  22.  
  23. #define NS_IDOMSVGUSEELEMENT_IID \
  24.   {0xd49a3ac7, 0xe779, 0x46c8, \
  25.     { 0xae, 0x92, 0x21, 0x44, 0x20, 0xaa, 0x1b, 0x71 }}
  26.  
  27. class NS_NO_VTABLE nsIDOMSVGUseElement : public nsIDOMSVGElement {
  28.  public: 
  29.  
  30.   NS_DEFINE_STATIC_IID_ACCESSOR(NS_IDOMSVGUSEELEMENT_IID)
  31.  
  32.   /* readonly attribute nsIDOMSVGAnimatedLength x; */
  33.   NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) = 0;
  34.  
  35.   /* readonly attribute nsIDOMSVGAnimatedLength y; */
  36.   NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) = 0;
  37.  
  38.   /* readonly attribute nsIDOMSVGAnimatedLength width; */
  39.   NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) = 0;
  40.  
  41.   /* readonly attribute nsIDOMSVGAnimatedLength height; */
  42.   NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) = 0;
  43.  
  44. };
  45.  
  46. /* Use this macro when declaring classes that implement this interface. */
  47. #define NS_DECL_NSIDOMSVGUSEELEMENT \
  48.   NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX); \
  49.   NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY); \
  50.   NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth); \
  51.   NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight); 
  52.  
  53. /* Use this macro to declare functions that forward the behavior of this interface to another object. */
  54. #define NS_FORWARD_NSIDOMSVGUSEELEMENT(_to) \
  55.   NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return _to GetX(aX); } \
  56.   NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return _to GetY(aY); } \
  57.   NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return _to GetWidth(aWidth); } \
  58.   NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return _to GetHeight(aHeight); } 
  59.  
  60. /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
  61. #define NS_FORWARD_SAFE_NSIDOMSVGUSEELEMENT(_to) \
  62.   NS_IMETHOD GetX(nsIDOMSVGAnimatedLength * *aX) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetX(aX); } \
  63.   NS_IMETHOD GetY(nsIDOMSVGAnimatedLength * *aY) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetY(aY); } \
  64.   NS_IMETHOD GetWidth(nsIDOMSVGAnimatedLength * *aWidth) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWidth(aWidth); } \
  65.   NS_IMETHOD GetHeight(nsIDOMSVGAnimatedLength * *aHeight) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetHeight(aHeight); } 
  66.  
  67. #if 0
  68. /* Use the code below as a template for the implementation class for this interface. */
  69.  
  70. /* Header file */
  71. class nsDOMSVGUseElement : public nsIDOMSVGUseElement
  72. {
  73. public:
  74.   NS_DECL_ISUPPORTS
  75.   NS_DECL_NSIDOMSVGUSEELEMENT
  76.  
  77.   nsDOMSVGUseElement();
  78.  
  79. private:
  80.   ~nsDOMSVGUseElement();
  81.  
  82. protected:
  83.   /* additional members */
  84. };
  85.  
  86. /* Implementation file */
  87. NS_IMPL_ISUPPORTS1(nsDOMSVGUseElement, nsIDOMSVGUseElement)
  88.  
  89. nsDOMSVGUseElement::nsDOMSVGUseElement()
  90. {
  91.   /* member initializers and constructor code */
  92. }
  93.  
  94. nsDOMSVGUseElement::~nsDOMSVGUseElement()
  95. {
  96.   /* destructor code */
  97. }
  98.  
  99. /* readonly attribute nsIDOMSVGAnimatedLength x; */
  100. NS_IMETHODIMP nsDOMSVGUseElement::GetX(nsIDOMSVGAnimatedLength * *aX)
  101. {
  102.     return NS_ERROR_NOT_IMPLEMENTED;
  103. }
  104.  
  105. /* readonly attribute nsIDOMSVGAnimatedLength y; */
  106. NS_IMETHODIMP nsDOMSVGUseElement::GetY(nsIDOMSVGAnimatedLength * *aY)
  107. {
  108.     return NS_ERROR_NOT_IMPLEMENTED;
  109. }
  110.  
  111. /* readonly attribute nsIDOMSVGAnimatedLength width; */
  112. NS_IMETHODIMP nsDOMSVGUseElement::GetWidth(nsIDOMSVGAnimatedLength * *aWidth)
  113. {
  114.     return NS_ERROR_NOT_IMPLEMENTED;
  115. }
  116.  
  117. /* readonly attribute nsIDOMSVGAnimatedLength height; */
  118. NS_IMETHODIMP nsDOMSVGUseElement::GetHeight(nsIDOMSVGAnimatedLength * *aHeight)
  119. {
  120.     return NS_ERROR_NOT_IMPLEMENTED;
  121. }
  122.  
  123. /* End of implementation class template. */
  124. #endif
  125.  
  126.  
  127. #endif /* __gen_nsIDOMSVGUseElement_h__ */
  128.